# $OpenBSD: Makefile,v 1.5 2015/05/28 10:17:24 pascal Exp $

CATEGORIES =	net
COMMENT =	SSDP cache/proxy daemon for KDE
HOMEPAGE =	https://projects.kde.org/projects/kdesupport/cagibi
DISTNAME =	cagibi-0.2.0
REVISION =	3

MASTER_SITES =	${MASTER_SITE_KDE:=stable/cagibi/}
EXTRACT_SUFX =	.tar.bz2

# GPLv2+ and LGPLv2.1+
PERMIT_PACKAGE_CDROM =          Yes

WANTLIB += c lib/qt4/QtDBus lib/qt4/QtNetwork lib/qt4/QtXml m pthread
WANTLIB += stdc++

MODULES =	x11/kde4
MODKDE4_USE =

RUN_DEPENDS =	net/avahi

# /usr/local/share/dbus-1/system-services/
RUN_DEPENDS +=	x11/dbus,-suid

MODKDE4_SYSCONF_FILES =	dbus-1		share/examples \
			cagibid.conf	share/examples/cagibi

CONFIGURE_ARGS =	-DSYSCONF_INSTALL_DIR:String=${SYSCONFDIR}

NO_TEST =	Yes

.include <bsd.port.mk>
